Use strtod, not strtof.
authorrobertl <robertl>
Fri, 21 May 2010 15:26:38 +0000 (15:26 +0000)
committerrobertl <robertl>
Fri, 21 May 2010 15:26:38 +0000 (15:26 +0000)
csv_util.c

index 2dc6d1e2692704d29d0c9fd3f6c19d2f3959b313..ba2b6a720e11820fbadf13180ffb19fc12e2aa1c 100644 (file)
@@ -1070,9 +1070,9 @@ xcsv_parse_val(const char *s, waypoint *wpt, const field_map_t *fmp,
         utm_zone = strtod(s, &ss);
         utm_zonec = ss[i];
         ss++;
-        utm_easting = strtof(ss, &ss);
+        utm_easting = strtod(ss, &ss);
         while(*ss && !isdigit(*ss)) ss++;
-        utm_northing = strtof(ss, NULL);
+        utm_northing = strtod(ss, NULL);
         }
         break;
     /* ALTITUDE CONVERSIONS ************************************************/